<?php

class Application_Form_Haslo extends Zend_Form {
    
    public function init() {
        $this->setMethod('post');
        $this->setAction("/index/haslo");
        $this->addElement('password', 'currentpassword', array(
            'label' => 'Aktualne hasło:',
            'required' => true
        ));
        $this->addElement('password', 'password', array(
            'label' => 'Nowe hasło:',
            'required' => true
        ));
        $this->addElement('password', 'confirmpassword', array(
            'label' => 'Potwierdź nowe hasło:',
            'required' => true
        ));
        

        $this->addElement('hidden', 'id');

        $this->addElement('submit', 'ustaw');
    }
}
